package com.mc.model;

import java.io.Serializable;

public class Teacher implements Serializable{
    /**
	 * 
	 */
	private static final long serialVersionUID = 1L;
    private Integer id;

    private String name;

    private String no;

    private String gender;

    private Major majorId;

    private String phone;

    private String type;

    private String qq;
    private String introduce;
   

    private String achievement;

    private String project;

    private String direction;

    private ResearchLab researchlaId;
    
    private Lab labId;
    
    private String pic;
    
    private boolean isExsit;
    
    private String position;
    
    private String officeLocation;
    
    private Department branch;
    
    
	public Department getBranch() {
		return branch;
	}

	public void setBranch(Department branch) {
		this.branch = branch;
	}

	public String getPosition() {
		return position;
	}

	public void setPosition(String position) {
		this.position = position;
	}

	public String getOfficeLocation() {
		return officeLocation;
	}

	public void setOfficeLocation(String officeLocation) {
		this.officeLocation = officeLocation;
	}

	public boolean isExsit() {
		return isExsit;
	}

	public void setExsit(boolean isExsit) {
		this.isExsit = isExsit;
	}

	public String getPic() {
		return pic;
	}

	public void setPic(String pic) {
		this.pic = pic;
	}

	public Lab getLabId() {
		return labId;
	}

	public void setLabId(Lab labId) {
		this.labId = labId;
	}

	public String getDirection() {
		return direction;
	}

	public void setDirection(String direction) {
		this.direction = direction;
	}

	public ResearchLab getResearchlaId() {
		return researchlaId;
	}

	public void setResearchlaId(ResearchLab researchlaId) {
		this.researchlaId = researchlaId;
	}

	public String getAchievement() {
        return achievement;
    }

    public void setAchievement(String achievement) {
        this.achievement = achievement == null ? null : achievement.trim();
    }

    public String getProject() {
        return project;
    }

    public void setProject(String project) {
        this.project = project == null ? null : project.trim();
    }
    public String getIntroduce() {
		return introduce;
	}

	public void setIntroduce(String introduce) {
		this.introduce = introduce;
	}

	public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public String getNo() {
        return no;
    }

    public void setNo(String no) {
        this.no = no == null ? null : no.trim();
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender == null ? null : gender.trim();
    }

  

    public Major getMajorId() {
		return majorId;
	}

	public void setMajorId(Major majorId) {
		this.majorId = majorId;
	}

	public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone == null ? null : phone.trim();
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type == null ? null : type.trim();
    }

    public String getQq() {
        return qq;
    }

    public void setQq(String qq) {
        this.qq = qq == null ? null : qq.trim();
    }

	@Override
	public String toString() {
		return "Teacher [id=" + id + ", name=" + name + ", no=" + no
				+ ", gender=" + gender + ", majorId=" + majorId + ", phone="
				+ phone + ", type=" + type + ", qq=" + qq + ", introduce="
				+ introduce + ", achievement=" + achievement + ", project="
				+ project + ", direction=" + direction + ", researchlaId="
				+ researchlaId + ", labId=" + labId + ", pic=" + pic
				+ ", isExsit=" + isExsit + ", position=" + position
				+ ", officeLocation=" + officeLocation + ", branch=" + branch
				+ "]";
	}

	

	

	
    
}